package com.codeczx.myretrofitdemo;

import com.codeczx.myretrofitdemo.retrofit.Call;
import com.codeczx.myretrofitdemo.retrofit.GET;
import com.codeczx.myretrofitdemo.retrofit.Path;

import java.util.List;

import okhttp3.ResponseBody;

/**
 * Created by codeczx on 2018/3/7.
 */

public interface GithubService {

    @GET("users/{user}/repos")
    Call<ResponseBody> getRepos(@Path("user")String user);

}
